import request from "../utils/request";

export function getIndex(params) {
  return request({
    url: "/view_api/index",
    params
  });
}

export function getOrder(params) {
  return request({
    url: "/view_api/user_order/orders",
    params
  });
}

export function getIndexPic() {
  return request({
    url: "/view_api/index_pic"
  });
}
